package com.andcard.obj;

import com.andcard.obj.CountData;

public class DatabaseStats {

	private int countRecords;
	private CountData[] countData;
	private int okAnswers;
	private int koAnswers;
	private boolean readOnly;
	private boolean reverse;
	
	public DatabaseStats(){}
	
	public DatabaseStats(int countRecords, CountData[] countData, int okAnswers, int koAnswers, boolean readOnly, boolean reverse){
		this.countRecords = countRecords;
		this.countData = countData;
		this.okAnswers = okAnswers;
		this.koAnswers = koAnswers;
		this.readOnly = readOnly;
		this.reverse = reverse;
	}

	public void setCountRecords(int countRecords) {
		this.countRecords = countRecords;
	}

	public void setCountData(CountData[] countData) {
		this.countData = countData;
	}

	public void setOkAnswers(int okAnswers) {
		this.okAnswers = okAnswers;
	}

	public void setKoAnswers(int koAnswers) {
		this.koAnswers = koAnswers;
	}

	public void setReadOnly(boolean readOnly) {
		this.readOnly = readOnly;
	}

	public void setReverse(boolean reverse) {
		this.reverse = reverse;
	}

	public int getCountRecords() {
		return countRecords;
	}

	public CountData[] getCountData() {
		return countData;
	}

	public int getOkAnswers() {
		return okAnswers;
	}

	public int getKoAnswers() {
		return koAnswers;
	}

	public boolean getReadOnly() {
		return readOnly;
	}

	public boolean getReverse() {
		return reverse;
	}

}
